package dancetiktokenumsmysql

const (
	DanceLuckyTripSendBarrage                        = 1  // 发送弹幕
	DanceLuckyTripThumbsUp                           = 2  // 点赞
	DanceLuckyTripGainStarlightPoints                = 3  // 获得星光值
	DanceLuckyTripGiftFairyStick                     = 4  // 赠送仙女棒
	DanceLuckyTripGiftAbilityPills                   = 5  // 赠送能力药丸
	DanceLuckyTripDonutsArePresented                 = 6  // 赠送甜甜圈
	DanceLuckyTripGiveAwayEnergyBatteries            = 7  // 赠送能量电池
	DanceLuckyTripGiveAnExplosionOfLove              = 8  // 赠送爱的爆炸
	DanceLuckyTripComplimentaryMicrophonesForQueuing = 9  // 赠送派对话筒
	DanceLuckyTripGiveAwayAMysteryAirdrop            = 10 // 赠送神秘空投
	DanceLuckyTripBonusSuperSpray                    = 11 // 赠送超能喷射

)

type DanceLuckyTripEnums struct {
}

var DanceLuckyTripEnumsObject DanceLuckyTripEnums

func (d DanceLuckyTripEnums) ConditionsType() []int {
	return []int{
		DanceLuckyTripSendBarrage,
		DanceLuckyTripThumbsUp,
		DanceLuckyTripGainStarlightPoints,
		DanceLuckyTripGiftFairyStick,
		DanceLuckyTripGiftAbilityPills,
		DanceLuckyTripDonutsArePresented,
		DanceLuckyTripGiveAwayEnergyBatteries,
		DanceLuckyTripGiveAnExplosionOfLove,
		DanceLuckyTripComplimentaryMicrophonesForQueuing,
		DanceLuckyTripGiveAwayAMysteryAirdrop,
		DanceLuckyTripBonusSuperSpray,
	}
}

func (d DanceLuckyTripEnums) ConditionsTypeMap() map[int]string {
	m := make(map[int]string)
	for _, s := range d.ConditionsType() {
		m[s] = d.ConditionsTypeString(s)
	}
	return m
}

func (d DanceLuckyTripEnums) ConditionsTypeString(tag int) string {
	switch tag {
	case DanceLuckyTripSendBarrage:
		return "发送弹幕"
	case DanceLuckyTripThumbsUp:
		return "点赞"
	case DanceLuckyTripGainStarlightPoints:
		return "获得星光值"
	case DanceLuckyTripGiftFairyStick:
		return "赠送仙女棒"
	case DanceLuckyTripGiftAbilityPills:
		return "赠送能力药丸"
	case DanceLuckyTripDonutsArePresented:
		return "赠送甜甜圈"
	case DanceLuckyTripGiveAwayEnergyBatteries:
		return "赠送能量电池"
	case DanceLuckyTripGiveAnExplosionOfLove:
		return "赠送爱的爆炸"
	case DanceLuckyTripComplimentaryMicrophonesForQueuing:
		return "赠送派对话筒"
	case DanceLuckyTripGiveAwayAMysteryAirdrop:
		return "赠送神秘空投"
	case DanceLuckyTripBonusSuperSpray:
		return "赠送超能喷射"
	default:
		return "发送弹幕"
	}
}
